/* 页面标题和描述 */
.pageTitle {
    color: #fff;
    position: relative;
    left: -50px;
    bottom: -20px;
}

.brandName {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
   
}

/* 搜索栏 */
.searchCard {
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(245, 241, 241, 0.1);

}

/* 通知栏 */
.noticeContainer {
    margin-top: 5px;
    padding: 0 2px;
}

/* 服务卡片容器 - 3x3网格布局 */
.serviceCardsContainer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    background: #fff;
    margin: 5px;
    border-radius: 16px;
}

.serviceCard {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 5px;
    border-radius: 12px;
    background: #fff;
}


.iconWrapper {
    position: relative;
    margin-bottom: 12px;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.serviceIcon {
    margin-top: 10px;
    height: 40px;
    width: 40px;
    object-fit: contain;
}

.badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff4d4f;
    color: #fff;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 6px;
    font-weight: bold;
}

.serviceTitle {
    color: #333;
    margin-bottom: 6px;
    font-size: 10px;
}
.serviceTitles {
    font-weight: 400;
    color: #333;
    line-height: 1.2;
    font-size: 10px;
}

.serviceDescription {
    font-size: 9px;
    color: #a09d9d;
}

/* 移动端适配 - 使用 vw 单位 */

/* 专家问诊区域 */
.expertSection {
    margin-top: 10px;
    padding: 10px 5px;
    background: #fff;
    border-radius: 20px;
}

.expertTitle {
    margin: 0;
    font-size: 14px;
}

.moreLink {
    float: right;
    width: 30px;
    text-align: center;
    color: #827e7e;
    font-size: 10px;
    font-weight: normal;
    background: #f2f0f0;
    border-radius: 10px;
}

/* 标签页容器 */
.tabsContainer {
    width: 100%;
    padding: 0 20px;
    font-size: 18px;
}
.pp {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #fff;
    border-radius: 16px;
}

.pp .serviceCard {
    display: flex;
    align-items: center;
    text-align: center;
    padding: 5px 1px;
    flex: 1;
    margin: 5px;
}

.img {
    width: 30px;
    height: 30px;
}

.pp .serviceTitle {
    font-size: 10px;
    color: #333;
}
.bigbox{
    background: #fff;
    border-radius: 20px;
}

/* CapsuleTabs 容器样式 */
.capsuleTabsContainer {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.capsuleTabsContainer::-webkit-scrollbar {
    display: none;
}

/* 医生数据展示容器 */
.doctorsContainer {
    padding: 0;
    min-height: 300px;
}

/* 虚拟列表容器：自身滚动 */
.virtualContainer {
    height: 400px;
    overflow: auto;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
}

.loadingText {
    text-align: center;
    color: #999;
    font-size: 14px;
    padding: 10px 0;
}

.noDataText {
    text-align: center;
    color: #999;
    font-size: 14px;
    padding: 10px 0;
}

.errorText {
    text-align: center;
    color: #ff4d4f;
    font-size: 14px;
    padding: 5px 0;
    background: #fff2f0;
    border-radius: 8px;
    margin: 5px;
}

/* CapsuleTabs 样式 */
.capsuleTabsWrapper :global(.adm-capsule-tabs) {
    font-size: 10px;
}

.capsuleTabsWrapper :global(.adm-capsule-tabs .adm-capsule-tabs-tab) {
    font-size: 10px;
    padding: 6px 12px;
}

.capsuleTabsWrapper :global(.adm-capsule-tabs .adm-capsule-tabs-tab-title) {
    font-size: 10px;
    line-height: 1.2;
}

/* 医生卡片样式 */
.doctorCard {
    display: flex;
    /* align-items: center; */
    padding: 10px;
    margin-bottom: 5px;
    background: #fff;
    border-radius: 12px;
}

.doctorImage {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    border: 2px solid #f0f0f0;
    flex-shrink: 0;
}

.doctorInfo {
    flex: 1;
}

.doctorName {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.doctorDetails {
    font-size: 12px;
    color: #666;
    margin-bottom: 1px;
    line-height: 1.4;
}

.doctorStats {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #999;
}

.doctorStats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 药品列表容器 - 一行展示两条数据 */
.drugListContainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding: 2px;
}

.expertItem{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 5px;
    border-radius: 8px;
    background: #fff;
}

.img{
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 4px;
    margin-bottom: 8px;
    background: #f5f5f5;
}

.expertItem p {
    margin: 2px 0;
    font-size: 12px;
    line-height: 1.2;
}

.expertItem p:first-of-type {
    font-weight: 600;
    color: #333;
}

.expertItem p:nth-of-type(2) {
    color: #666;
    font-size: 10px;
}
/* 缓存状态显示 */
.cacheStatus {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cacheInfo {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cacheIndicator {
    font-size: 14px;
}

.cacheText {
    white-space: nowrap;
}

.clearCacheBtn {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clearCacheBtn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.clearCacheBtn:active {
    transform: scale(0.95);
}
.dingwei{
    position: absolute;
    top: -20px;
    right: 2px;
    color: #fff;
    font-size: 12px;
}